package com.vito.dcs.paver.construction.dao;


import java.util.*;
import com.vito.dcs.paver.construction.model.DataPaverConstructionModel;

/**
 * 施工车辆数据上传表持久化接口
 * @author  fangj
 * @version 0.1.1
 * @date    2019-4-19 10:33:02
 */
public interface DataPaverConstructionMapper2 {

	/**
	 * 持久化datapaverconstruction
	 * @author  fangj
	 * @version 0.1.1
	 * @date    2019-4-19 10:33:02
	 * @return  保存的条数
	 * @param   datapaverconstruction 需要持久化的施工车辆数据上传表对象
	 */
	public Integer save(DataPaverConstructionModel datapaverconstruction);
	public Integer saveOtherTable(DataPaverConstructionModel datapaverconstruction);
	/**
	 * 查询datapaverconstruction集合
	 * @author  fangj
	 * @version 0.1.1
	 * @date    2019-4-19 10:33:02
	 * @return  查询出的DataPaverConstructionModel集合
	 * @param   datapaverconstruction 通过施工车辆数据上传表对象查询
	 */
	public List<DataPaverConstructionModel> queryAllByPage(DataPaverConstructionModel datapaverconstruction);
	
	/**
	 * 查询datapaverconstruction
	 * @author  fangj
	 * @version 0.1.1
	 * @date    2019-4-19 10:33:02
	 * @return  查询出的DataPaverConstructionModel
	 * @param   datapaverconstruction 通过施工车辆数据上传表对象查询
	 */
	public DataPaverConstructionModel query(DataPaverConstructionModel datapaverconstruction);
	
	/**
	 * 更新datapaverconstruction对象
	 * @author  fangj
	 * @version 0.1.1
	 * @date    2019-4-19 10:33:02
	 * @return  查询出的更新条数
	 * @param   datapaverconstruction 修改datapaverconstruction对象主键对应的其他数据
	 */
	public Integer update(DataPaverConstructionModel datapaverconstruction);
	
	/**
	 * 删除datapaverconstruction
	 * @author  fangj
	 * @version 0.1.1
	 * @date    2019-4-19 10:33:02
	 * @return  变更条数
	 * @param   datapaverconstruction 删除datapaverconstruction对象的checkeds 包含的datapaverconstruction主键对应的数据
	 */
	public Integer delete(DataPaverConstructionModel datapaverconstruction);
	
	Map<String,Object> queryProcess(DataPaverConstructionModel datapaverconstruction);
	Map<String,Object> queryRollerAlarm(DataPaverConstructionModel datapaverconstruction);
	
	void saveAlarmWater(Map<String,Object> map);
	void saveAlarmAsphalt(Map<String,Object> map);
	void saveDataAfterCon(Map<String,Object> map);
	Map<String,Object> querySegregation(DataPaverConstructionModel datapaverconstruction);
	
	void saveWaterArea(Map<String,Object> map);
	void saveAsphaltArea(Map<String,Object> map);
	void updateWaterArea(Map<String,Object> map);
	void updateAsphaltArea(Map<String,Object> map);
	Integer queryWaterAreaCount(Map<String,Object> map);
	Integer queryAsphaltAreaCount(Map<String,Object> map);
	
	void updatePileKey(Map<String,Object> map);
	void createTable(Map<String,Object> map);
	
	Map<String,Object> queryWaterArea(Map<String,Object> map);
	Map<String,Object> queryAsphaltArea(Map<String,Object> map);
	void saveTraceWater(Map<String,Object> map);
	void saveTraceAsphalt(Map<String,Object> map);
	Map<String,Object> queryWaterTotalWeight(DataPaverConstructionModel datapaverconstruction);
	Map<String,Object> queryAsphaltTotalWeight(DataPaverConstructionModel datapaverconstruction);
	void updateTraceWater(Map<String,Object> map);
	void updateTraceAsphalt(Map<String,Object> map);
	
}